#include <iostream>
using namespace std;
int main()
{
	int wei=1,renshu,zpz;
	cin>>renshu;
	int chengji[renshu];
	for(int temp1=0;temp1<renshu;temp1++)
	{
		cin>>chengji[temp1];
	}
	cin>>zpz;
	for(int temp2=0;temp2<renshu;temp2++)
	{
		if(chengji[temp2]>zpz)
		{
			wei++;
		}
	}
	cout<<wei;
	return 0;
}
